package com.geovis.emergency.spd.entity.basic.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

/**
 * <p>
 * 应急预案指挥模块 - 标签分组
 * </p>
 *
 * @author Lonsho
 * @since 2022-06-17
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("basic_label_group")
@ApiModel(value = "BasicLabelGroup对象", description = "应急预案指挥模块 - 标签分组")
@AllArgsConstructor
@NoArgsConstructor
public class BasicLabelGroup extends BaseSpdEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 分组名
     */
    @ApiModelProperty(value = "分组名", required = true)
    @NotBlank(message = "分组名不能为空")
    private String name;
}
